Exploiting the Background Debugging Mode in a Fault Injection system
نویسندگان
چکیده
This note1 describes a software-implemented Fault Injection system (Fig. 1) suited to be used with embedded microprocessor-based boards and based on some features available in the most recent microprocessors and microcontrollers. Although these features were originally introduced to easy code development and debugging, they are very well suited for supporting the implementation of efficient and barely intrusive Fault Injection Systems. In particular, our Fault Injection system exploits the Background Debugging Mode (BDM) [1], available in the last microprocessors and microcontrollers produced by Motorola. During the fault injection experiment, the application program is executed in debugging mode and BDM is in charge of resetting the system, downloading the application target program, executing the fault injection, and triggering possible time-out conditions. The tool is able to inject faults both in the memory image of the process (data and code) and in the internal registers of the processor. The adopted fault model is the single bit-flip transient fault, but the approach can be easily extended to different fault models such as permanent stuck-at, transient bridging, multiple bit-flip. Faults are injected at the assembly level. This means that the system inject every fault between one instruction and another, and it is not possible to inject a fault during the execution cycle of a single assembly instruction. The fault injection is controlled by the host processor, which sets a breakpoint in correspondence of a specified instruction; at the n-th execution of the specified instruction, the fault is injected by means of a debugging command that modifies a memory location or a user register. We developed a case study based on the LA-7902 tool by Lauterbach GmbH, which interfaces a host computer with a target board based on a MC68332 microcontroller. The behavior of such a board in presence of faults is evaluated using a prototypical implementation of our fault injection system.
منابع مشابه
Using Sliding Mode Controller and Eligibility Traces for Controlling the Blood Glucose in Diabetic Patients at the Presence of Fault
Some people suffering from diabetes use insulin injection pumps to control the blood glucose level. Sometimes, the fault may occur in the sensor or actuator of these pumps. The main objective of this paper is controlling the blood glucose level at the desired level and fault-tolerant control of these injection pumps. To this end, the eligibility traces algorithm is combined with the sliding mod...
متن کاملUsing the Adaptive Frequency Nonlinear Oscillator for Earning an Energy Efficient Motion Pattern in a Leg- Like Stretchable Pendulum by Exploiting the Resonant Mode
In this paper we investigate a biological framework to generate and adapt a motion pattern so that can be energy efficient. In fact, the motion pattern in legged animals and human emerges among interaction between a central pattern generator neural network called CPG and the musculoskeletal system. Here, we model this neuro - musculoskeletal system by means of a leg - like mechanical system cal...
متن کاملAn Unknown Input Observer for Fault Detection Based on Sliding Mode Observer in Electrical Steering Assist Systems
Steering assist system controls the force transfer behavior of the steering system and improves the steering probability of the vehicle. Moreover, it is an interface between the diver and vehicle. Fault detection in electrical assisted steering systems is a challenging problem due to frequently use of these systems. This paper addresses the fault detection and reconstruction in automotive elect...
متن کاملXception: Software Fault Injection and Monitoring in Processor Functional Units
1 This work was supported by Esprit project 6731 FTMPS “Fault Tolerant Massively Parallel Systems” Abstract This paper presents Xception, a software fault injection and monitoring environment. Xception uses the advanced debugging and performance monitoring features existing in most of the modern processors to inject more realistic faults by software, and to monitor the activation of the faults ...
متن کاملSensor Fault Detection for a class of Uncertain Nonlinear Systems Using Sliding Mode Observers
This paper deals with the issues of sensor fault detection for a class of Lipschitz uncertain nonlinear system. By definition coordinate transformation matrix for system states and output system, at first the original system divided into two subsystems. the first subsystem includes uncertainties but without any sensor faults and the second subsystem has sensor faults but is free of uncertaintie...
متن کامل